package com.kata.chapter14;

/**
 * Created by Solidsnake on 2014/12/9.
 */
public class LightningGun extends Gun {

    private Gun gun;

    public LightningGun(Gun gun) {
        this.gun = gun;
    }

    public void pop() {
        System.out.println("挂载雷电发射组建");
        gun.pop();
        System.out.println("攻击附带闪电效果");
    }
}
